package exer01;

/**
 * @author shkstart
 * @date 2022/5/12 - 21:59
 */
public class GeometricObject {
    protected String color;
    protected double weight;


    protected void GeometricObject(String color,double weight) {
        this.color = color;
        this.weight = weight;
    }


    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public String getColor() {
        return color;
    }

    public void setColor1(String color) {
        this.color = color;
    }

    public double findArea() {
        return 0.0;
    }


}
